@extends('admin.layouts.app')
@section('css')

@endsection
@section('content')

                        <!-- Page-Title -->
                        <div class="row">
                            <div class="col-sm-12">
                                <h4 class="page-title">平台管理</h4>
                                <ol class="breadcrumb">
                                    <li><a href="#">系统</a></li>
                                    <li><a href="{{url('zadmin/users/list')}}">用户管理</a></li>
                                    <li class="active">修改用户信息</li>
                                </ol>
                            </div>
                        </div>
                        
                        <div class="row">
                            <div class="col-lg-12">
                                <div class="card-box">
                            <h2 class="m-t-0 header-title">修改用户基本信息</h2>
                            <hr/>
                             
    @include('admin.common.error')
    <div class="row">
             <div class="col-md-6">
        <form class="form-horizontal" role="form" action="{{url('zadmin/users/update')}}" method="post" enctype="multipart/form-data">
          <div class="form-group">
          <label class="col-md-2 control-label">用户名</label>
          <div class="col-md-10">
          <input type="text" class="form-control" name="name" required="" value="{{$data->name}}"  autocomplete="off">
                                                  </div>
                                              </div>
              <div class="form-group">
              <label class="col-md-2 control-label" for="example-email">电话</label>
                <div class="col-md-10">
                  <input type="text"  name="mobile" class="form-control" value="{{$data->mobile}}" placeholder="" autocomplete="off" >
                </div>
              </div>

              <div class="form-group">
              <label class="col-md-2 control-label" for="example-email">昵称</label>
                <div class="col-md-10">
                  <input type="text"  name="nickname" class="form-control" value="{{$data->nickname}}" placeholder="" autocomplete="off" >
                </div>
              </div>

            

             

            

            

            

            <div class="form-group">
              <label class="col-md-2 control-label" for="example-email">Token</label>
                <div class="col-md-10">
                <input type="text"  name="token" class="form-control" value="{{$data->remember_token}}" readonly=""  />
              </div>
            </div>

            





                <div class="form-group text-center">
                  <button type="submit" class="btn btn-info waves-effect waves-light">保存</button>
                </div>
                                              
                  <input type="hidden" name="id" value="{{$data->id}}" />                            
                             {{csrf_field()}}
              </form>
                                </div>

                               
                                        
               </div>            
                                    
                                    
      </div>
                                
      </div> <!-- end col -->

                            
                        </div>
@endsection
                        
                        
                        

                  
        
       

           



    
        @section('js')

        
        @endsection
    
